package edu.sctu.zhangwang.month201505.day20150525.test01;

/**
 * Created by Administrator on 2015/5/25 0025.
 */
public class PeopleTwo extends People   {
    private int height;
    public PeopleTwo(String name, String number, int age, String sex) {
        super(name, number, age, sex);
    }
    public void setHeight(int height){
        this.height = height;
    }
    public int getHeight(){
        return height;
    }
    public void printHeight(){
        System.out.println("该生身高为："+getHeight());
    }
}
